package com.ruoyi.system.Fdongbei.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;


/**
 * 化验--》对象 tb_huayan
 *
 * @author ruoyi
 * @date 2024-12-10
 */
public class TbHuayan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**   */
    private Long id;


    @Excel(name = "车号",targetAttr = "chehao")
    private TbGuozhong tbGuozhong;

    @Excel(name = "供应商名")
    String gysdm;
    @Excel(name = "结算单价")
    String dj;
    @Excel(name = "退车")
    String tc;
    @Excel(name = "打印次数")
    Long dycs;
    /**   */
    @Excel(name = "迁样时间")
    private String cysj;


    /**   */
    @Excel(name = "称重编号")
    private String czbh;



    /**   */
    @Excel(name = "杂质")
    private String zz;

    /**   */
    @Excel(name = "杂质扣")
    private String zzk;

    /**   */
    @Excel(name = "水分")
    private String sf;

    /**   */
    @Excel(name = "水分扣")
    private String sfk;



    /**   */
    @Excel(name = "不完善")
    private String bwsl;

    /**   */
    @Excel(name = "不完善扣")
    private String bwslk;



    /**   */
    @Excel(name = "霉变")
    private String mbl;

    /**   */
    @Excel(name = "霉扣")
    private String mblk;


    /**   */
    @Excel(name = "总扣")
    private String zk;
    /**   */
    @Excel(name = "容重数量")
    private String rzsl;

    /**   */
    @Excel(name = "容重等级")
    private String rzdj;

    /**   */
    @Excel(name = "化验时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String hysj;
    @Excel(name = "化验人员")
    private String czry;
    @Excel(name = "费用")
    private String fenyang;
    /**   */
    @Excel(name = "zt")
    private String zt;
    /**   */
    @Excel(name = "ypks")
    private String ypks;

    /**   */
    @Excel(name = "zzks")
    private String zzks;
    /**   */
    @Excel(name = "hys")
    private String hys;
    /**   */
    @Excel(name = "ymqybsm")
    private String ymqybsm;

    /**   */
    /**   */
    @Excel(name = "bnls")
    private String bnls;
    /**   */
    @Excel(name = "bwsls")
    private String bwsls;
    /**   */
    @Excel(name = "mbls")
    private String mbls;
    /**   */
    @Excel(name = "bnl")
    private String bnl;

    /**   */
    @Excel(name = "bnlk")
    private String bnlk;

    /**   */
    @Excel(name = "szqw")
    private String szqw;

    /**   */
    @Excel(name = "hwmc")
    private String hwmc;

    /**   */
    @Excel(name = "bz")
    private String bz;


    /**   */
    private String zp1;

    /**   */
    private String zp2;

    /**   */
    @Excel(name = "hycs")
    private Long hycs;

    /**   */
    @Excel(name = "hybs")
    private Long hybs;

    /**   */
    @Excel(name = "xlhbs")
    private Long xlhbs;

    /**   */
    @Excel(name = "tpname")
    private String tpname;

    /**   */
    @Excel(name = "rzname")
    private String rzname;

    /**   */
    @Excel(name = "sfname")
    private String sfname;

    /**   */
    @Excel(name = "yijian")
    private String yijian;

    /**   */
    @Excel(name = "branch")
    private String branch;

    /**   */


//    @Override
    public String toStringname() {
        return "TbHuayan{" +
                "id=" + id +
                ", cysj='" + cysj + '\'' +
                ", ymqybsm='" + ymqybsm + '\'' +
                ", czbh='" + czbh + '\'' +
                ", ypks='" + ypks + '\'' +
                ", zzks='" + zzks + '\'' +
                ", zz='" + zz + '\'' +
                ", zzk='" + zzk + '\'' +
                ", sf='" + sf + '\'' +
                ", sfk='" + sfk + '\'' +
                ", bwsls='" + bwsls + '\'' +
                ", bwsl='" + bwsl + '\'' +
                ", bwslk='" + bwslk + '\'' +
                ", mbls='" + mbls + '\'' +
                ", mbl='" + mbl + '\'' +
                ", mblk='" + mblk + '\'' +
                ", bnls='" + bnls + '\'' +
                ", bnl='" + bnl + '\'' +
                ", bnlk='" + bnlk + '\'' +
                ", szqw='" + szqw + '\'' +
                ", zk='" + zk + '\'' +
                ", hysj='" + hysj + '\'' +
                ", zt='" + zt + '\'' +
                ", hys='" + hys + '\'' +
                ", czry='" + czry + '\'' +
                ", hwmc='" + hwmc + '\'' +
                ", bz='" + bz + '\'' +
                ", rzsl='" + rzsl + '\'' +
                ", rzdj='" + rzdj + '\'' +
                ", zp1='" + zp1 + '\'' +
                ", zp2='" + zp2 + '\'' +
                ", hycs=" + hycs +
                ", hybs=" + hybs +
                ", xlhbs=" + xlhbs +
                ", tpname='" + tpname + '\'' +
                ", rzname='" + rzname + '\'' +
                ", sfname='" + sfname + '\'' +
                ", yijian='" + yijian + '\'' +
                ", branch='" + branch + '\'' +
                ", fenyang='" + fenyang + '\'' +
                ", tbGuozhong=" + tbGuozhong +
                ", gysdm='" + gysdm + '\'' +
                ", dj='" + dj + '\'' +
                ", tc='" + tc + '\'' +
                ", dycs=" + dycs +
                '}';
    }
    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public String getTc() {
        return tc;
    }

    public void setTc(String tc) {
        this.tc = tc;
    }

    public Long getDycs() {
        return dycs;
    }

    public void setDycs(Long dycs) {
        this.dycs = dycs;
    }

    public String getGysdm() {
        return gysdm;
    }

    public void setGysdm(String gysdm) {
        this.gysdm = gysdm;
    }

    /** tb信息 */
    private List<TbGuozhong> tbGuozhongList;


    public TbGuozhong getTbGuozhong() {

        return tbGuozhong;
    }

    public void setTbGuozhong(TbGuozhong tbGuozhong) {
        if (tbGuozhong.getGysdm()!=null)
        this.setGysdm(tbGuozhong.getGysdm());
        if (tbGuozhong.getJsdj()!=null)
        this.setDj(tbGuozhong.getJsdj().toString());
        if (tbGuozhong.getYj()!=null)
        this.setTc(tbGuozhong.getYj());
        if (tbGuozhong.getHyddy()!=null)
        this.setDycs(tbGuozhong.getHyddy());
        this.tbGuozhong = tbGuozhong;
    }

    public void setTbGuozhong2(TbGuozhong tbGuozhong) {
        this.tbGuozhong = tbGuozhong;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCysj(String cysj)
    {
        this.cysj = cysj;
    }

    public String getCysj()
    {
        return cysj;
    }
    public void setYmqybsm(String ymqybsm)
    {
        this.ymqybsm = ymqybsm;
    }

    public String getYmqybsm()
    {
        return ymqybsm;
    }
    public void setCzbh(String czbh)
    {
        this.czbh = czbh;
    }

    public String getCzbh()
    {
        return czbh;
    }
    public void setYpks(String ypks)
    {
        this.ypks = ypks;
    }

    public String getYpks()
    {
        return ypks;
    }
    public void setZzks(String zzks)
    {
        this.zzks = zzks;
    }

    public String getZzks()
    {
        return zzks;
    }
    public void setZz(String zz)
    {
        this.zz = zz;
    }

    public String getZz()
    {
        return zz;
    }
    public void setZzk(String zzk)
    {
        this.zzk = zzk;
    }

    public String getZzk()
    {
        return zzk;
    }
    public void setSf(String sf)
    {
        this.sf = sf;
    }

    public String getSf()
    {
        return sf;
    }
    public void setSfk(String sfk)
    {
        this.sfk = sfk;
    }

    public String getSfk()
    {
        return sfk;
    }
    public void setBwsls(String bwsls)
    {
        this.bwsls = bwsls;
    }

    public String getBwsls()
    {
        return bwsls;
    }
    public void setBwsl(String bwsl)
    {
        this.bwsl = bwsl;
    }

    public String getBwsl()
    {
        return bwsl;
    }
    public void setBwslk(String bwslk)
    {
        this.bwslk = bwslk;
    }

    public String getBwslk()
    {
        return bwslk;
    }
    public void setMbls(String mbls)
    {
        this.mbls = mbls;
    }

    public String getMbls()
    {
        return mbls;
    }
    public void setMbl(String mbl)
    {
        this.mbl = mbl;
    }

    public String getMbl()
    {
        return mbl;
    }
    public void setMblk(String mblk)
    {
        this.mblk = mblk;
    }

    public String getMblk()
    {
        return mblk;
    }
    public void setBnls(String bnls)
    {
        this.bnls = bnls;
    }

    public String getBnls()
    {
        return bnls;
    }
    public void setBnl(String bnl)
    {
        this.bnl = bnl;
    }

    public String getBnl()
    {
        return bnl;
    }
    public void setBnlk(String bnlk)
    {
        this.bnlk = bnlk;
    }

    public String getBnlk()
    {
        return bnlk;
    }
    public void setSzqw(String szqw)
    {
        this.szqw = szqw;
    }

    public String getSzqw()
    {
        return szqw;
    }
    public void setZk(String zk)
    {
        this.zk = zk;
    }

    public String getZk()
    {
        return zk;
    }
    public void setHysj(String hysj)
    {
        this.hysj = hysj;
    }

    public String getHysj()
    {
        return hysj;
    }
    public void setZt(String zt)
    {
        this.zt = zt;
    }

    public String getZt()
    {
        return zt;
    }
    public void setHys(String hys)
    {
        this.hys = hys;
    }

    public String getHys()
    {
        return hys;
    }
    public void setCzry(String czry)
    {
        this.czry = czry;
    }

    public String getCzry()
    {
        return czry;
    }
    public void setHwmc(String hwmc)
    {
        this.hwmc = hwmc;
    }

    public String getHwmc()
    {
        return hwmc;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setRzsl(String rzsl)
    {
        this.rzsl = rzsl;
    }

    public String getRzsl()
    {
        return rzsl;
    }
    public void setRzdj(String rzdj)
    {
        this.rzdj = rzdj;
    }

    public String getRzdj()
    {
        return rzdj;
    }
    public void setZp1(String zp1)
    {
        this.zp1 = zp1;
    }

    public String getZp1()
    {
        return zp1;
    }
    public void setZp2(String zp2)
    {
        this.zp2 = zp2;
    }

    public String getZp2()
    {
        return zp2;
    }
    public void setHycs(Long hycs)
    {
        this.hycs = hycs;
    }

    public Long getHycs()
    {
        return hycs;
    }
    public void setHybs(Long hybs)
    {
        this.hybs = hybs;
    }

    public Long getHybs()
    {
        return hybs;
    }
    public void setXlhbs(Long xlhbs)
    {
        this.xlhbs = xlhbs;
    }

    public Long getXlhbs()
    {
        return xlhbs;
    }
    public void setTpname(String tpname)
    {
        this.tpname = tpname;
    }

    public String getTpname()
    {
        return tpname;
    }
    public void setRzname(String rzname)
    {
        this.rzname = rzname;
    }

    public String getRzname()
    {
        return rzname;
    }
    public void setSfname(String sfname)
    {
        this.sfname = sfname;
    }

    public String getSfname()
    {
        return sfname;
    }
    public void setYijian(String yijian)
    {
        this.yijian = yijian;
    }

    public String getYijian()
    {
        return yijian;
    }
    public void setBranch(String branch)
    {
        this.branch = branch;
    }

    public String getBranch()
    {
        return branch;
    }
    public void setFenyang(String fenyang)
    {
        this.fenyang = fenyang;
    }

    public String getFenyang()
    {
        return fenyang;
    }

    public List<TbGuozhong> getTbGuozhongList()
    {
        return tbGuozhongList;
    }

    public void setTbGuozhongList(List<TbGuozhong> tbGuozhongList)
    {
        this.tbGuozhongList = tbGuozhongList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cysj", getCysj())
                .append("ymqybsm", getYmqybsm())
                .append("czbh", getCzbh())
                .append("ypks", getYpks())
                .append("zzks", getZzks())
                .append("zz", getZz())
                .append("zzk", getZzk())
                .append("sf", getSf())
                .append("sfk", getSfk())
                .append("bwsls", getBwsls())
                .append("bwsl", getBwsl())
                .append("bwslk", getBwslk())
                .append("mbls", getMbls())
                .append("mbl", getMbl())
                .append("mblk", getMblk())
                .append("bnls", getBnls())
                .append("bnl", getBnl())
                .append("bnlk", getBnlk())
                .append("szqw", getSzqw())
                .append("zk", getZk())
                .append("hysj", getHysj())
                .append("zt", getZt())
                .append("hys", getHys())
                .append("czry", getCzry())
                .append("hwmc", getHwmc())
                .append("bz", getBz())
                .append("rzsl", getRzsl())
                .append("rzdj", getRzdj())
                .append("zp1", getZp1())
                .append("zp2", getZp2())
                .append("hycs", getHycs())
                .append("hybs", getHybs())
                .append("xlhbs", getXlhbs())
                .append("tpname", getTpname())
                .append("rzname", getRzname())
                .append("sfname", getSfname())
                .append("yijian", getYijian())
                .append("branch", getBranch())
                .append("fenyang", getFenyang())
                .append("tbGuozhongList", getTbGuozhongList())
                .toString();
    }
}
